package com.ple.app.login;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.ple.app.jzsf.R;

public class ModifyPsdActivity extends Activity {

    EditText editTextEnterNewPsd;
    EditText editTextEnterNewPsdAgain;
    Button btnConfirmModifyPsd;
    Button btnLoginInAgain;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_modify_psd);
        //初始化视图
        initView();
        //初始化事件
        initEvents();
    }

    /**
     *
     */
    private void initView() {
        editTextEnterNewPsd = (EditText) findViewById(R.id.getPsd_enterNewPsd);
        editTextEnterNewPsdAgain = (EditText) findViewById(R.id.getPsd_enterNewPsdAgain);
        btnConfirmModifyPsd = (Button) findViewById(R.id.getPsd_confirmModify);
        btnLoginInAgain = (Button) findViewById(R.id.getPsd_loginInAgain);
    }

    /**
     *
     */
    private void initEvents() {

        btnConfirmModifyPsd.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });

        btnLoginInAgain.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ModifyPsdActivity.this,LoginActivity.class);
                startActivity(intent);
            }
        });
    }

}
